package plus.chendd.test.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "root")
@Data
@RefreshScope
public class RootUserConfig {
  private String name;
  private int age;
  private String address;
  private String[] list;
}
